package cn.gd.mapper.Document;

import cn.gd.logging.RecordLog;
import cn.gd.pojo.DocumentTool.DocumentVo;
import cn.gd.pojo.Documentrecyclebin;
import cn.gd.pojo.Documents;

import java.util.List;

/**
 * @author wyh
 * @version 1.80
 */
public interface DocumentMapper {
    @RecordLog(desc = "查询所有文档")
    public List<Documents> getDocumentAll(DocumentVo documentVo);

    @RecordLog(desc = "新增文档")
    public int addDocument(Documents documents);

    @RecordLog(desc = "根据id查询文档")
    public Documents getDocumentId(Integer id);

    @RecordLog(desc = "修改文档")
    public int updateDocument(Documents documents);

    @RecordLog(desc = "删除文档")
    public int deleteDocument(Integer id);

    @RecordLog(desc = "新增文档回收站")
    public int addDocumentrecyclebin(Documentrecyclebin documentrecyclebin);
}
